// Shows the Not implemented error into the console
function NotImplementedWarning(method){
    console.log("Method '" + method + "' is not implemented.");
}

// Base object for all custom elements
var objectBase = new function(){

    // Method for creating HTML element
    this.getElement = function (){
        NotImplementedWarning("getElement")
        return $("<div>Not implemented</div>");
    }

    // Method for rendering instance into HTML element
    this.appendTo = function (element){
        $(element).append(this.getElement());
    };

    // Method providing access to resizing an object
    this.resize = function (width, heigth){
        NotImplementedWarning("resize");
    };


    // Method providing access to move with the object
    this.changePosition = function (x, y){
        NotImplementedWarning("changePosition");
    }

    this.getWidth = function(){
        NotImplementedWarning("changePosition");
        return 0;
    }

    this.getHeight = function(){
        NotImplementedWarning("changePosition");
        return 0;
    }
};